package mymyoux.events
{
	import flash.events.Event;
	public class CacheEvent extends Event
	{
		static public const CHANGE:String="data_change";
		protected var _value:*,_oldValue:*;
		public function CacheEvent(name:String, oldValue:*,value:*,bubbles:Boolean=false, cancelable:Boolean=false)
		{
			_oldValue=oldValue;
			_value=value;
			super(CHANGE+name, bubbles, cancelable);
		}
		public function get value():*{
			return _value;
		}
		public function get oldValue():*{
			return _oldValue;
		}
		
	}
}